import request from "@/utils/request";

export function getSubList() {
    return request({
        url: '/sub/getSubList',
        method: 'post'
    });
}

export function deleteSub(params) {
    return request({
        url: '/sub/deleteSub',
        method: 'post',
        params
    });
}

export function addSub(params) {
    return request({
        url: '/sub/addSub',
        method: 'post',
        params
    });
}